/**
 *  fileName:testreg
 *  time:2021/10/20
 *  todo:$END$
 */
let str = '12311231'
let reg = /12|31/g
console.log(str.match(reg))
